package com.zh.flowable.domain.dto;

import org.flowable.engine.repository.Deployment;
import org.flowable.idm.api.Group;

/**
 * @author
 * @date 2025/8/21
 */
public class GroupDTOWrapper {

    public static GroupDTO convertDTO(Group entity){
        var dto = new GroupDTO();
        dto.setId(entity.getId());
        dto.setName(entity.getName());
        dto.setType(entity.getType());
        return dto;
    }
}
